<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <!-- IE 浏览器运行最新渲染模式(win10, IE 10) -->
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <!-- 浏览器运行高速模式, 针对国内所谓的双核浏览器 -->
  <meta name="renderer" content="webkit">
  <!-- 兼容移动设备 -->
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
  <link rel="shortcut icon" href="http://oyogbl12f.bkt.clouddn.com/favicon.ico" type="image/x-icon">
  <title>Title</title>
  <style>
    html, body{
      margin:0;
      padding:0;
    }
    .pages {
      font-size: 0;
	  display: flex;
	  flex-wrap: nowrap;
	  width: 300%;
    }
    .page-panel {
      overflow: hidden;
      position: relative;
	
    }
    .page {
      width: 100%;
      height: 300px;
      color: white;
      display: inline-block;
      font-size: 15px;
      transform: translateX(0);
    }
    .page1 {
      background-color: rebeccapurple;
    }
    .page2 {
      background-color: blue;
    }
    .page3 {
      background-color: greenyellow;
    }
    .page4 {
      background-color: antiquewhite;
    }
  </style>
</head>
<body>

  <div class="page-panel">
    <div id="pages" class="pages">
      <div class="page page1">This is page1</div>
      <div class="page page2">This is page2</div>
      <div class="page page3">This is page3</div>
    </div>
  </div>

  <script src="/bundle.js"></script>
</body>
</html>